package com.systemic.service;

import com.systemic.pojo.MindfulnessLog;
import com.systemic.vo.PageVo;

import java.util.List;

/**
 * @ClassName: MindfulnessLogService
 * @Description:
 * @Author:
 * @CreateTime: 2024-01-31 16:50
 * @Version:
 **/
public interface MindfulnessLogService {

    /**
     * 新增
     * @param mindfulnessLog
     * @return
     */
    int add(MindfulnessLog mindfulnessLog);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteList(Integer[] ids);

    /**
     * 修改
     * @param mindfulnessLog
     * @return
     */
    int update(MindfulnessLog mindfulnessLog);

    /**
     * 分页查询（根据用户id）
     * @param pageVo
     * @return
     */
    List<MindfulnessLog> selectByAuthor(PageVo pageVo);
}
